package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.MaterieListOriginal.MaterieListContent;
import com.isunland.managesystem.entity.OderSaleContent;

public class EditMaterieDetailActivity extends SingleFragmentActivity {

  @Override protected Fragment createFragment() {
    MaterieListContent mContent = (MaterieListContent) getIntent().getSerializableExtra(
        EditMaterieDetailFragment.EXTRA_CONTENT);
    OderSaleContent orderContent = (OderSaleContent) getIntent().getSerializableExtra(
        EditMaterieDetailFragment.EXTRA_ORDER_CONTENT);
    //		return EditMaterieDetailFragment.newInstance(mContent);
    return EditMaterieDetailFragment.newInstance(mContent, orderContent);
  }
}
